<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}">
    <link rel="stylesheet" th:href="@{/lib/css/top.css}">
    <script th:src="@{/layui/layui.js}"></script>
</head>
<style>


</style>
<body>
<div class="er" th:fragment="topbar">
    <ul class="layui-nav layui-bg-cyan" id="top-nav">
        <li class="layui-nav-item">
            <a th:href="@{/index}">首页</a>
        </li>
        <li class="layui-nav-item">
            <a href="userinfo">个人中心<span class="layui-badge-dot"></span></a>
        </li>
        <li class="layui-nav-item">
            <a href="#"><img src="/images/2019-08-07/f8aa0870-e4ea-4170-9772-296204476267.jpg" class="layui-nav-img" th:text="'你好，'+${session.user.username}"></a>

        </li>
        <li class="layui-nav-item">
            <a href="quite">退出登录</a>

        </li>
    </ul>



</div>
</body>
</html>